Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLES 12 SP5 fixes #658

Merged
merged 16 commits into from
Oct 25, 2024
Merged

SLES 12 SP5 fixes #658

merged 16 commits into from
Oct 25, 2024

Conversation

KimForss
Copy link
Collaborator

@KimForss KimForss commented Oct 25, 2024

Problem

This pull request introduces several changes across different files to enhance functionality, update dependencies, and improve logging and debugging. The most important changes include adding a new property to prevent resource group deletion, updating Azure package versions, and enhancing the deployment scripts with more detailed logging and error handling.

Enhancements to Resource Group Management:

Dependency Updates:

Deployment Script Improvements:

Solution

Tests

Notes

@KimForss KimForss added the hotfix Hotfixes for issues with the solution. label Oct 25, 2024
@KimForss KimForss self-assigned this Oct 25, 2024
@KimForss KimForss requested a review from a team as a code owner October 25, 2024 12:57
Copy link
Member

@hdamecharla hdamecharla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved #658

@hdamecharla hdamecharla self-requested a review October 25, 2024 13:35
Copy link
Member

@hdamecharla hdamecharla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@hdamecharla hdamecharla merged commit 1013525 into Azure:development Oct 25, 2024
2 checks passed
KimForss added a commit that referenced this pull request Oct 31, 2024
* Bring in HotFix repairs (#651)

* Refactor deploy control plane script to remove unnecessary Terraform installation and Azure CLI installation
* Refactor deploy control plane script to include sourcing deploy_server.sh and fixing Terraform ownership
* Refactor deploy control plane script to include dynamic role assignment based on VM count and use managed service identity (MSI) for authentication
* Refactor pipeline script to update echo statements and export variables for installation method, workload ARM_CLIENT_ID, and Terraform state information

Co-authored-by: Kimmo Forss <[email protected]>
Co-authored-by: hdamecharla <[email protected]>

* ansible python fix (#653)

Co-authored-by: swatibehl <[email protected]>

* Fix conditional statement in install_workloadzone.sh

* Pipeline hotfixes (#654)

* Refactor echo statements in deploy control plane pipeline
* Refactor install_workloadzone.sh script to reset return_value variable
* Refactor install_workloadzone.sh script to improve error handling
* feng shui
* Refactor variables_local.tf to improve readability and error handling
* Refactor deploy control plane pipeline to include deployer_tfstate_key parameter
* Refactor deploy control plane pipeline to include deployer_tfstate_key and landscape_tfstate_key parameters
* Refactor echo statement in deploy control plane pipeline
* Refactor remover script in deploy control plane pipeline
* Refactor deploy control plane pipeline to remove unnecessary use_msi flag
* Refactor deploy control plane pipeline to update default value for spn_keyvault_id
* Refactor deploy control plane pipeline to update default value for spn_key_vault_arm_id
* Refactor deploy control plane pipeline to trim deployer_tfstate_key in imports.tf
* Refactor deploy control plane pipeline to include provider for azurerm.workload in imports.tf
* Refactor deploy control plane pipeline to update storage account authentication and export TF_VAR_tfstate_resource_id
* Refactor deploy control plane pipeline to update deployer and landscape state file paths
* Refactor deploy control plane pipeline to remove unnecessary code in remover.sh
* Refactor install_workloadzone.sh to export SPN key vault ID if keyvault is provided
* Refactor tfvar_variables.tf to set default value of short_named_endpoints_nics to true
* Refactor remover.sh to consolidate terraform destroy command
* Refactor echo statements in remover.sh and remove-control-plane.yaml
* Refactor echo statements in deploy/pipelines/01-deploy-control-plane.yaml
* Refactor providers.tf to conditionally set use_msi based on var.use_spn
* Refactor echo statements in deploy/pipelines/01-deploy-control-plane.yaml to improve clarity of deployment credentials
* Refactor install_workloadzone.sh to improve argument parsing and readability
* Refactor code for improved argument parsing and readability in install_workloadzone.sh
* Refactor LandscapeModel.cs, LandscapeDetails.json, and LandscapeTemplate.txt to add prevent_deletion_if_contains_resources property
* Refactor package dependencies in os-packages.yaml
* Refactor ansible role to remove unused variable and update passlib dependency
* Refactor echo statement in install_workloadzone.sh for improved clarity

---------

Co-authored-by: Kimmo Forss <[email protected]>

* Suse 12 fix for python (#656)

* suse 12 fix for python

* Update 1.17.1-pre_checks.yml

* Update 1.17.1-pre_checks.yml

Fix linting issues

---------

Co-authored-by: swatibehl <[email protected]>
Co-authored-by: hdamecharla <[email protected]>

* SLES 12 SP5 fixes (#658)

* Fix conditional statement in install_workloadzone.sh

* Fix subscription_id assignment in providers.tf

* Fix indentation in deployment credential messages

* Fix deployment credential messages and subscription_id assignment

* chore: enable Azure scheduled events resource start and display output on SUSE

* Refactor deployment script to improve readability and remove unnecessary output

* Update provider version to 4.7

* Refactor tfvar_variables.tf to add a new variable for preventing deletion of resource groups with resources

* Add prevent_deletion_if_contains_resources variable to SystemModel.cs

* Refactor deployment script to improve readability and display deployment credentials

* Refactor deployment script to enable Stonith and concurrent fencing

* Refactor tfvar_variables.tf to add prevent_deletion_if_contains_resources variable

* Refactor validate.yml to remove single quotes from crm_resource output

* Refactor validate.yml to remove single quotes from crm_resource output

* fix ansible schema errors

* Refactor validate.yml to remove unnecessary 'when' condition

---------

Co-authored-by: Kimmo Forss <[email protected]>
Co-authored-by: hdamecharla <[email protected]>

* extend timeout for zypp (#657)

Co-authored-by: swatibehl <[email protected]>

---------

Co-authored-by: Kimmo Forss <[email protected]>
Co-authored-by: Kimmo Forss <[email protected]>
Co-authored-by: Swatibehl <[email protected]>
Co-authored-by: swatibehl <[email protected]>
KimForss added a commit to KimForss/sap-automation that referenced this pull request Oct 31, 2024
* Fix conditional statement in install_workloadzone.sh

* Fix subscription_id assignment in providers.tf

* Fix indentation in deployment credential messages

* Fix deployment credential messages and subscription_id assignment

* chore: enable Azure scheduled events resource start and display output on SUSE

* Refactor deployment script to improve readability and remove unnecessary output

* Update provider version to 4.7

* Refactor tfvar_variables.tf to add a new variable for preventing deletion of resource groups with resources

* Add prevent_deletion_if_contains_resources variable to SystemModel.cs

* Refactor deployment script to improve readability and display deployment credentials

* Refactor deployment script to enable Stonith and concurrent fencing

* Refactor tfvar_variables.tf to add prevent_deletion_if_contains_resources variable

* Refactor validate.yml to remove single quotes from crm_resource output

* Refactor validate.yml to remove single quotes from crm_resource output

* fix ansible schema errors

* Refactor validate.yml to remove unnecessary 'when' condition

---------

Co-authored-by: Kimmo Forss <[email protected]>
Co-authored-by: hdamecharla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotfix Hotfixes for issues with the solution.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants